// 后台管理路由
const GM_ADMIN_ROUTE_CFG = [
  {
    path: "/",
    meta: { title: "基本设置" },
    children: [
      {
        path: "/",
        name: "基本设置",
        component: "../views/basic-setting/index",
        meta: { title: "基本设置", icon: "ElIconUser" },
      },
    ],
  },
  {
    path: "/crowd",
    meta: { title: "群众反馈", icon: "ElIconSetting" },
    children: [
      {
        path: "/service",
        name: "Service",
        component: "../views/crowd/service/index",
        meta: { title: "服务质量评价" },
      },
      {
        path: "/law",
        name: "Law",
        component: "../views/crowd/law/index",
        meta: { title: "执法过程评价" },
      },
      {
        path: "/complaint",
        name: "Complaint",
        component: "../views/crowd/complaint/index",
        meta: { title: "投诉处置评价" },
      },
      {
        path: "/comprehensive",
        name: "Comprehensive",
        component: "../views/crowd/comprehensive/index",
        meta: { title: "综合问卷数据" },
      },
    ],
  },
  {
    path: "/internal",
    meta: { title: "内部考核", icon: "ElIconSetting" },
    children: [
      {
        path: "/praise",
        name: "Praise",
        component: "../views/internal/praise/index",
        meta: { title: "表扬数据" },
      },
      {
        path: "/punish",
        name: "Punish",
        component: "../views/internal/punish/index",
        meta: { title: "惩罚数据" },
      },
      {
        path: "/propagandaandeducation",
        name: "Propagandaandeducation",
        component: "../views/internal/propagandaandeducation/index",
        meta: { title: "宣教活动" },
      },
      {
        path: "/complainthandling",
        name: "Complainthandling",
        component: "../views/internal/complainthandling/index",
        meta: { title: "投诉及处置" },
      },
    ],
  },
];

// 令牌缓存Key
const TOKEN_KEY = "accessToken";

// 总体评分-左上
const TOTAL_SCORE = [
  {
    rank: "Ⅰ",
    score: 95,
    desc: "质最优，消毒饮用勿担忧:主要适用于源头水、国家自然保护区",
  },
  {
    rank: "Ⅱ",
    score: 85,
    desc: '上游有，活水源头"金"难有;主要适用于集中式生活饮用水地表水源地一级保护区珍稀水生生物栖息地、鱼虾类产场、仔稚幼鱼的素饵场等',
  },
  {
    rank: "Ⅲ",
    score: 75,
    desc: "正创求，水产养殖人可游;主要适用于集中式生活饮用水地表水源地二级保护区、鱼虾类越冬场、洄游通道、水产养殖区等渔业水域及游泳区",
  },
  {
    rank: "Ⅳ",
    score: 60,
    desc: "质堪忧，工业娱乐人勿游;主要适用于-股工业用水区及人体非直接接触的娱乐用水区",
  },
  {
    rank: "Ⅴ",
    score: 40,
    desc: "应少有，只在农灌中才有;主要适用于农业用水区及一般景观要求水域",
  },
  {
    rank: "劣Ⅴ类",
    score: 0,
    desc: "是污水，消除达标景才优。劣V类水实际上就是水质比V类还要差的水",
  },
];
// 群众反馈字段映射
const CROWD_DICT = {
  // ⽔质感官指标(群众感受)
  "您是否发现本单位工作人员在工作中存在的问题？": '"⽔质不⼲净，需要加快净化"',
  "您认为本中队工作人员是否存在利用职权向管理和服务对象吃拿卡要、谋取不当利益等问题？": '"⽔中泥沙含量较⾼"',
  "您认为本中队是否存在形式主义、官僚主义，不作为、慢作为、乱作为问题？": '"⽔压不⾜"',
  "您认为本中队是否存在漠视群众利益、腐败问题和不正之风以及群众反映强烈的问题？": '"⽔质不⼲净，需要加快净化"',
  "您是否发现执法人员存在执法不规范的问题，如有，有哪些？（可多选）": '"⽔质不⼲净，需要加快净化"',
  "您是否发现工作人员存在作风不优的问题，如有，有哪些？（可多选）": '"⽔质不⼲净，需要加快净化"',
};
// 内部考核字段映射
const INTERNAL_DICT = {
  // ⽔质化学指标
  表扬次数: "钾含量",
  惩罚次数: "钠含量",
  宣教活动次数: "重⾦属",
  投诉及处置次数: "铁含量",
};
// 综合问卷题目
const QUESTION = [
  {
    label: "您的联系电话",
    type: "input",
    prop: "phone_number",
  },
  {
    label: "您的身份是：",
    options: ["服务对象", "群众", "其他"],
    type: "radio",
    shape: "square",
    prop: "user_type",
  },
  {
    label: "你对港航中队工作人员总体评价？",
    options: ["满意", "不满意"],
    type: "radio",
    prop: "result",
  },
  {
    label: "您是否发现本单位工作人员在工作中存在的问题？",
    options: [
      "没有发现",
      "工作效率低下",
      "解决问题能力差",
      "服务态度差",
      "其他",
    ],
    type: "checkboxGroup",
  },
  {
    label:
      "您认为本中队工作人员是否存在利用职权向管理和服务对象吃拿卡要、谋取不当利益等问题？",
    options: ["不存在", "个别存在", "普遍存在", "不清楚"],
    type: "radio",
  },
  {
    label:
      "您认为本中队是否存在形式主义、官僚主义，不作为、慢作为、乱作为问题？",
    options: ["不存在", "个别存在", "普遍存在", "不清楚"],
    type: "radio",
  },
  {
    label:
      "您认为本中队是否存在漠视群众利益、腐败问题和不正之风以及群众反映强烈的问题？",
    options: ["不存在", "个别存在", "普遍存在", "不清楚"],
    type: "radio",
  },
  {
    label: "您是否发现执法人员存在执法不规范的问题，如有，有哪些？（可多选）",
    options: [
      "着装不规范，未按规定穿着统一制式服装",
      "不出示执法证件、亮明身份",
      "不听取当事人陈述申辩，因当事人申辩而加重处罚",
      "执法检查流于形式",
      "未出具处罚决定书",
      "未按照规定执行罚款与收缴分离制度，罚款由执法人员直接收取",
      "未发现其他问题",
    ],
    type: "checkboxGroup",
  },
  {
    label: "您是否发现工作人员存在作风不优的问题，如有，有哪些？（可多选）",
    options: [
      "上班时间不在岗，执法出勤不出力",
      "精神状态懈怠、自由散漫、纪律涣散",
      "办事效率低，推诿扯皮",
      "对待服务对象态度冷漠、不耐烦",
      "执法行为简单粗暴、野蛮粗鲁",
      "敷衍式执法，故意刁难当事人",
      "未发现其他问题",
    ],
    type: "checkboxGroup",
  },
  {
    label:
      "您认为本中队在工作人员队伍管理和重点工作推进等方面，存在哪些难点、问题？有什么意见建议？",
    type: "input",
  },
  {
    label:
      "您是否发现本系统存在违规违纪等问题？如有，请如实反映，具体到人、到事？",
    type: "input",
  },
];
// 综合问卷选项
const ANSWER_DICT = [
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
];
// 大屏刷新时间
const DELAY  = 10*1000
